﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using CVsharp.MVClib.Authorize;

namespace CVsharp.DWZMvc.Controllers
{
    public class HomeController : BaseController
    {
        [Description("主页")]
        [IsViewPage]
        public ActionResult Index()
        {
            ViewBag.Message = "Welcome to ASP.NET MVC!"; 
            return View();
        }
        [Description("关于页面")]
        [IsViewPage]
        [IsAllPermission]
        public ActionResult About()
        {
            return View();
        }
    }
}
